import { defineStore } from 'pinia'

export const useUserStore = defineStore('user', {
  state: () => {
    return {
      userInfo: null,
    }
  },
  actions: {
    async login(data){
      this.userInfo = data
    }
  },
})

